package com.mocoder.chatdemo.model;

import java.net.InetAddress;

public class MsgModel {
    private InetAddress host;
    private int port;
    private byte[] msg;

    public MsgModel(InetAddress host, int port, byte[] msg) {
        this.host = host;
        this.port = port;
        this.msg = msg;
    }

    public InetAddress getHost() {
        return host;
    }

    public int getPort() {
        return port;
    }

    public byte[] getMsg() {
        return msg;
    }
}
